package org.example.c1;

import java.util.concurrent.TimeUnit;

/**
 * @author liu-rui
 * @date 2020/5/26 下午2:51
 * @description 用于观察进程中运行的线程
 * @since
 */
public class Demo2 {
    public static void main(String[] args) throws InterruptedException {
        new Thread(()->{
            while (true){
            }
        },  "t1").start();


        TimeUnit.HOURS.sleep(1);
    }
}
